//noPost pop
import Taro from "@tarojs/taro"
import { View} from '@tarojs/components'
import { AtButton} from "taro-ui"
import './index.scss'

export default function NoPost(){
  //跳转回主页面
  const handleConfirm=()=>{
    Taro.switchTab({
      url: '../../pages/index/index'
    })
  }

  return (
  <View className='noPostCard'>
        <View className='noPostcontent'>
          您暂时还未投递任何职位
        </View>
        <AtButton type='primary' size='small' className='noPostButton' onClick={handleConfirm}>
          去投递
        </AtButton>
        
  </View>
    )
  
}